package com.entity;


public class News {

  private long id;
  private String name;
  private String content;
  private java.sql.Timestamp date;

  public News(long id){
    this.id=id;
  }
  public News(long id,String name,String content){
    this.id=id;
    this.name=name;
    this.content=content;
  }
  public News(long id,String name,String content,java.sql.Timestamp date){
    this.id=id;
    this.name=name;
    this.content=content;
    this.date=date;
  }
  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }


  public java.sql.Timestamp getDate() {
    return date;
  }

  public void setDate(java.sql.Timestamp date) {
    this.date = date;
  }

}
